// 分界监测点
export const FenJieJianKongDian = {
    tm: '最新采集时间',
    sq: '干流量',
    sq1: '支流量',
    press: '干压力',
    sumw: '干累计水量',
    sumw1: '支累计水量',
    MODE: '控制方式',
    statu: '阀门状态',
    kd: '阀门开度',
    valueErr: '阀门故障',
    // address_name: '名称',
    
}

// 非分界监测点
export const FeiFenJieJianKongDian = {
    // address_name: '名称',
    tm: '最新采集时间',
    sq: '干流量',
    sq1: '支流量',
    press: '干压力',
    sumw: '干累计水量',
    sumw1: '支累计水量',
    MODE: '控制方式',
    statu: '阀门状态',
    kd: '阀门开度',
    valueErr: '阀门故障',
}

//泵站
export const BengZhanDian = {
    // address_name: '名称',
    tm: '最新采集时间',
    z: '前池水位',
    press_first: '第一泵组压力',
    press_second: '第二泵组压力',
    press_third: '第三泵组压力',
    isRun: '是否运行',
    frist_v: '1泵电压 AB;BC;AC',
    second_v: '2泵电压 AB;BC;AC',
    third_v: '3泵电压 AB;BC;AC',
    fourth_v: '4泵电压 AB;BC;AC',
    frist_a: '1泵电流 A;B;C',
    second_a: '2泵电流 A;B;C',
    third_a: '3泵电流 A;B;C',
    fourth_a: '4泵电流 A;B;C',


}
// 蓄水池
export const XuShuiChiDian = {
    // address_name: '名称',
    tm: '最新采集时间',
    press: '压力',
    z: '前池水位',
    valueErr: '阀门故障',
    MODE: '控制方式',
    kd: '开度',
    statu: '阀门状态',
    


}

// 收费站
export const ShouFeiZhanDian = {
    legalperson_name:"联系人",
    // org_id:"0008002",
    legalperson_phone:"联系人手机",
    // org_name:"新集收费站",
    lon: "经度",
    lat: "纬度"
}

export const unitList = {
   
    sq: 'm³/h', //干流量   //分界监测点悬停
    sq1: 'm³/h',  //支流量   //分界监测点悬停
    sumw: 'm³',    //干累计水量   //分界监测点悬停
    sumw1: 'm³',   //支累计水量    //分界监测点悬停
    press: "MPa",   //干压力   //分界监测点悬停

    mnf: '次/分',  //监测频次 //分界监测点详情
    chanLen: 'm',  //管线长度


    chanQ: 'm³/s', //设计流量   GuanXianHover
    chanDiameter: 'mm', //管径   GuanXianHover


    z: 'm',  //前池水位     //蓄水池、泵站鼠标悬停
    press_first: "MPa",   //第一泵组压力  泵站鼠标悬停
    press_second: "MPa",  //第二泵组压力  泵站鼠标悬停
    press_third: "MPa",   //第三泵组压力  泵站鼠标悬停



}

//测站详情
const clickDetail = {
    addressName: '名称',
    sttpName: '测站类型',
    // dtu: 'dtu编号',
    deviceId: '设备编号',
    lon: '经度',
    lat: '纬度',
    // card: '物联网卡号',
    mnf: '监测频次',
    iskd: '开度',
    installMan: '安装负责人',
    installDate: '安装日期',
    loc: '安装地址'
}

// sttp: 0/1管道；2：蓄水池；3：泵站
const clickDetail0 = { ...clickDetail, value_info: '阀门设施', flowmeter_info: '流量设施' }
const clickDetail2 = { ...clickDetail, llj: '流量设施', ddf: '阀门设施', ywj: '水位设施', sp: '视频' }

export const clickDetailObj = {
    0: clickDetail0,
    1: clickDetail0,
    2: clickDetail2,
    3: clickDetail
}


//管线悬停
export const GuanXianHover = {
    chanCode: '管道编码',
    // chanName: '管道名称',
    chanGrade: '管道级别',
    chanQ: '设计流量',
    // parentCode: '',
    chanLen: '管道长度',
    runCond: '运行状况',
    // chanColour: '',
    chanDiameter: '管径',
    chanMaterial: '管材',
    // presentSituation: '',
    particularYear: '建设年份',
    buryingDepth: '埋深',
    // ts: '',
    // nt: '',
    // rowIndex: '',
}

export const GuanXianFuGaiQY = {
    particularYear: "",
    house_num: "村社户数",
    person_num: "村社人数",

}


// 监测点查询结果
export const queryJianCeDianResult = {
    // addrId: "ce6a4070711844e3885438c1fbecf763",
    addressName:"测站名称",
    // addressNameJc:"简称",
    // card:"",
    // data_state:"1",
    // deviceId:"23178222562",
    // dtu:"dtu编号",
    installDate:"安装日期",
    installMan:"安装负责人",
    // ishp:"数据合并上报",
    // iskd:"有无开度",
    // issp:"是否有视频",
    // lat:35.894955,
    loc:"安装地址",
    // lon:104.709033,
    mnf:"监测频次",
    // nt:"备注",
    // pDeviceId:"数据来源站点",
    // register:"0",
    // run:"是否在线",
    // sttp:"监测点类型",
    // ts:"2023-04-17T17:23:19.000+0000",
    // type:"类型",
    // ylblc: "压力表量程"
}
// 管线查询结果
export const queryGuanXianResult = {
    code: '管道编号',
    chan_name: "管道名称",
    // chan_material: "管材",
    chan_grade: "管道级别",
}
